#ifndef __HELLOWORLD_RANKLIST_H__
#define __HELLOWORLD_RANKLIST_H__
#include "basic.h"
#include "DifficultyLevel.h"
#include "GamePlaying.h"
#include "GameOver.h"

#define FILENAME  "my.txt"
#define  RankListStringLength 10

#define SCALE 0.5

class RankList :public CCLayer
{
public:
	RankList(void);
	~RankList(void);
	void InitRankList();
	void menuCallback(CCObject* pSender);
	void Quit(CCObject* pSender);
	void WriteFile();
	void ReadFile();
	void initRankListString();
	void Hidemenu();
	vector<string> split(string str,string separator);
	CCMenuItemLabel* back;
	CCMenuItemLabel* quit;
	fstream o_file;
	static string RankListString[RankListStringLength];
};
#endif

